package com.four.treatment.service.impl;

import com.four.treatment.dao.ArchivesDao;
import com.four.treatment.entity.Archives;
import com.four.treatment.service.ArchivesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Service;

/**
 * @Author:wsy
 * @Date: 2022/01/17/20:17
 * @Description
 */
@Service
public class ArchivesServiceImpl implements ArchivesService {

    @Autowired
    private ArchivesDao archivesDao;

    /**
     * 添加档案
     * @param archives
     */
    @Override
    public void addArchives(Archives archives) {
        archivesDao.addArchives(archives);
    }
}
